Complex Logarithm
The complex exponential function generalises the exponential function for complex numbers, and so a natural question is how to generalise to natural logarithm.
However, in the context of complex numbers, the function \(z \mapsto e^z\) is not injective, since for example
In general, sets of points which differ by a multiple of \(2\pi\) in the imaginary component get mapped to the same value.
If we ignore this for now, we would naturally say that for a complex number \(re^{i \theta}\) the logarithm is given by
Here the choice of \(\theta\) would effect the result, so we instead enforce the use of the principal argument. This corresponds with restricting the domain of \(\exp\) to the region \(\{z \in \mathbb{C} : -\pi < \mathrm{Im}(z) \leq \pi\}\), analagous to the restrictions done for the square root or inverse trigonometric functions.
For \(z \in \mathbb{C} - \{0\}\)
where \(\mathrm{Arg}\) is the principal argument.
Now we can use this definition to formalise the characterisation of it as in inverse.
The function \(\mathrm{Log}\) as above is an inverse for \(\exp\) when \(\exp\) is restricted to the domain \(\{z \in \mathbb{C} : -\pi < \mathrm{Im}(z) \leq \pi\}\).
For any \(z \in \mathbb{C}\) for which the relevant functions are defined
and
for some \(n \in \mathbb{Z}\).
For \(z \in \mathbb{C} - \{0\}\)
With this notation, \(\mathrm{Log} = \log_{-\pi}\). Often we call \(\mathrm{Log}\) the principal branch of the logarithm.